
package com.naqel.shipment;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>PickupShipmentResult complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="PickupShipmentResult">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="HasError" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="PickupShipments" type="{http://tempuri.org/}ArrayOfPickupShipment" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PickupShipmentResult", propOrder = {
    "hasError",
    "message",
    "pickupShipments"
})
public class PickupShipmentResult {

    @XmlElement(name = "HasError")
    protected boolean hasError;
    @XmlElement(name = "Message")
    protected String message;
    @XmlElement(name = "PickupShipments")
    protected ArrayOfPickupShipment pickupShipments;

    /**
     * 获取hasError属性的值。
     * 
     */
    public boolean isHasError() {
        return hasError;
    }

    /**
     * 设置hasError属性的值。
     * 
     */
    public void setHasError(boolean value) {
        this.hasError = value;
    }

    /**
     * 获取message属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMessage() {
        return message;
    }

    /**
     * 设置message属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMessage(String value) {
        this.message = value;
    }

    /**
     * 获取pickupShipments属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ArrayOfPickupShipment }
     *     
     */
    public ArrayOfPickupShipment getPickupShipments() {
        return pickupShipments;
    }

    /**
     * 设置pickupShipments属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ArrayOfPickupShipment }
     *     
     */
    public void setPickupShipments(ArrayOfPickupShipment value) {
        this.pickupShipments = value;
    }

}
